@import '~/assets/style/mixin.less';

.tags {
  display: flex;
  flex-wrap: wrap;
  width: 100%;

  .ant-tag {
    .anim-color();
    position: relative;
    margin: 0 12px 15px 0;
    padding: 4px;
    min-width: 43px;
    background-color: #F2F5F8;
    border-radius: 3px;
    border: none;
    text-align: center;
    font-size: 12px;
    line-height: 17px;
    color: @color-clouds;
    cursor: pointer;

    &:hover {
      background-color: @color-secondary;
      color: @color-white;
    }

    .anticon-close {
      position: absolute;
      right: 5px;
      top: 2px;

      svg {
        display: none;
      }

      &:before {
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        font-family: "baai-iconfont" !important;
        font-size: 12px;
        color: @color-default;
        content: "\e79b";
      }
    }

    // ---
    &-small {
      margin: 0 12px 12px 0;
      padding: 0 4px;
      min-width: 36px;
      font-size: 12px;
      line-height: 18px;
    }

    // ---
    &-large {
      margin: 0 24px 28px 0;
      padding: 6px 21px;
      min-width: 80px;
      font-size: 18px;
      line-height: 26px;
    }
  }
}
